uniform mat4 uPMatrix;
uniform mat4 uMVMatrix;

attribute vec4 position;
attribute vec2 uv;

varying vec3 pos;
varying vec2 ambCoords;

void main()
{
	pos			= (uMVMatrix * position).xyz;
	ambCoords	= uv;
	gl_Position = uPMatrix * uMVMatrix * position;
}
